INPUT
Phone no.*
Amount*
Pin*
 
API
buyAirtime()

USER STORY
To buy and send airtime from a user's account to a mobile phone number
 
CODE
validate receiver's phone number
validate senders acceptable credit limit
validate sender has sufficient balance 
validate pin 
deduct amount from sender
credit reciever 
send sms alert to reciever
send sms alert to sender 
display success to sender